<template>
	<view class="mySetting">
		<!-- <header-box :title="pageTitle"></header-box> -->
		<view class="app-logo"><image class="_logo-img" src="../../static/img/logo.png" mode=""></image></view>
		<view class="app-version"><text>v1.0.1</text></view>
		
		<view class="mySetting-box">
			<view class="mySetting-main">
				<view class="mySetting-main-item" @click="toLink('/pages/editMyInfo/editMyInfo')">
					<image class="_main-item-icon" src="../../static/tab_bar/myCenter-icon.png" mode=""></image>
					<text>我的资料</text>
					<image class="_other-item-right" src="../../static/img/right-icon.png" mode=""></image>
				</view>
				<view class="mySetting-main-item" @click="toLink('/pages/realName/realName')">
					<image class="_main-item-icon" src="../../static/img/realName-icon.png" mode=""></image>
					<text>实名认证</text>
					<image class="_other-item-right" src="../../static/img/right-icon.png" mode=""></image>
				</view>
				<view class="mySetting-main-item" @click="toLink('/pages/receiving/receiving')">
					<image class="_main-item-icon" src="../../static/img/address-icon.png" mode=""></image>
					<text>收货地址</text>
					<image class="_other-item-right" src="../../static/img/right-icon.png" mode=""></image>
				</view>
			</view>
			<view class="copy-right"><text>Copyright©2022 杭州中子链证信息科技有限公司</text></view>
			<view class="copy-icp"><text>浙ICP备2022002578-1</text></view>
		</view>
		<!-- <video :src="videoSrc" controls v-if="videoSrc"></video> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle:'设置',
				videoSrc:''
			};
		},
		methods:{
			toLink(link) {
				if (link) {
					uni.navigateTo({
						url:link
					})
				}
			},
		}
	}
</script>

<style lang="less">
	.mySetting{
		width: 100%;
		min-height: 100vh;
		background-color: #16181D;
		font-family: PingFangSC-Medium, PingFang SC, '微软雅黑';
		font:caption;
		display: flow-root;
		.app-logo{
			width: 360rpx;
			height: 120rpx;
			margin: 120rpx auto 0;
			._logo-img{
				width: 100%;
				height: 100%;
			}
		}
		.app-version{
			font-size: 28rpx;
			font-family: Helvetica;
			color: #9D7DFF;
			line-height: 48rpx;
			text-align: center;
			margin-top: 8rpx;
		}
		.mySetting-box{
			padding: 0 48rpx;
			box-sizing: border-box;
			margin-top: 70rpx;
			.mySetting-main{
				width: 100%;
				.mySetting-main-item{
					background: #262A34;
					border-radius: 24rpx;
					padding: 30rpx 30rpx 30rpx 40rpx;
					box-sizing: border-box;
					display: flex;
					flex-wrap: nowrap;
					justify-content: flex-start;
					align-items: center;
					position: relative;
					font-size: 28rpx;
					font-weight: 500;
					color: #FFFFFF;
					margin-top: 32rpx;
					._main-item-icon{
						width: 36rpx;
						height: 36rpx;
						min-width: 36rpx;
						margin-right: 32rpx;
					}
					._other-item-right{
						width: 20rpx;
						height: 30rpx;
						min-width: 20rpx;
						position: absolute;
						top: 0;
						left: 0;
						right: 0;
						bottom: 0;
						margin: auto;
						margin-right: 38rpx;
					}
				}
			}
			.copy-right{
				text-align: center;
				font-size: 24rpx;
				color: #5E6272;
				margin-top: 154rpx;
			}
			.copy-icp{
				font-size: 24rpx;
				text-align: center;
				color: #989EAE;
				margin-top: 10rpx;
			}
		}
	}
</style>
